package web.error;

import org.apache.wicket.Component;
import org.apache.wicket.PageParameters;
import org.apache.wicket.markup.html.panel.EmptyPanel;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.Model;
import web.cms.CmsBasePage;
import web.panels.TopMenuPanel;

public final class PageNotFound extends CmsBasePage {

    public PageNotFound() {
        super();
    }

    public PageNotFound(PageParameters params) {
        super();
    }

    @Override
    public IModel getPageTitle() {
        return new Model("PageNotFound");
    }

    @Override
    public IModel getDescription() {
        return new Model("PageNotFound");
    }

    @Override
    public IModel getKeywords() {
        return new Model("PageNotFound");
    }

    @Override
    protected Component newTopPanel(String id) {
        return new TopMenuPanel(id, Long.valueOf(0));

    }

    @Override
    protected Component newRightPanel(String id) {
        return new EmptyPanel(id);
    }

    @Override
    protected Component newLeftPanel(String id) {
        return new EmptyPanel(id);
    }
}

